﻿/*----------------------------------------------------------------
// PiPiBugNet
// Copyright (C) 2009-2010 
//
// 功能描述：用户实体类
//
// 创建人:张沛沛
// 创建日期: 2009.08.12
// 
// 修改标识:
// 修改描述:
//
//----------------------------------------------------------------*/

using System;
using System.Text;

namespace Model
{
    public class User
    {
        protected int _ID;
        /// <summary>
        /// 用户ID
        /// </summary>
        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        protected string _UserName;
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName
        {
            get { return _UserName; }
            set { _UserName = value; }
        }

        protected string _PassWord;
        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord
        {
            get { return _PassWord; }
            set { _PassWord = value; }
        }

        protected int _RoleID;
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleID
        {
            get { return _RoleID; }
            set { _RoleID = value; }
        }

        protected DateTime? _RegDate;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? RegDate
        {
            get { return _RegDate; }
            set { _RegDate = value; }
        }
    }
}
